projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d50721b
)
* Fix error while disassembling native code on macOS
author
Jimmy Yuen Ho Wong
<wyuenho@gmail.com>
Tue, 3 Aug 2021 07:14:38 +0000
(08:14 +0100)
committer
Andrea Corallo
<akrl@sdf.org>
Tue, 3 Aug 2021 08:27:20 +0000
(10:27 +0200)
* lisp/emacs-lisp/disass.el (disassemble-internal): Make sure the
regexp that searches for a symbol takes into account of llvm-objdump's
output format.
lisp/emacs-lisp/disass.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/disass.el
b/lisp/emacs-lisp/disass.el
index 6ac76f1c19de7ea896592f4a0a2c31817818806c..712fa511707db771002849a7de203333540266d6 100644
(file)
--- a/
lisp/emacs-lisp/disass.el
+++ b/
lisp/emacs-lisp/disass.el
@@
-95,6
+95,8
@@
redefine OBJECT if it is a symbol."
(re-search-forward (concat "^.*"
(regexp-quote
(concat "<"
+ (when (eq system-type 'darwin)
+ "_")
(comp-c-func-name
(subr-name obj) "F" t)
">:"))))